package com.quanyan.runningriding.mapper;


import com.quanyan.runningriding.entity.vo.run.MusicVo;
import com.quanyan.runningriding.entity.vo.run.req.BatchSynchroniseMusic;
import com.quanyan.runningriding.entity.vo.run.resp.MusicCollectionInfoVo;
import com.quanyan.runningriding.entity.vo.run.resp.MusicType;
import com.quanyan.runningriding.entity.vo.run.resp.MyBelovedMusic;

import java.util.List;
import java.util.Map;

public interface RunMusicMapper {
    List<MusicType> getMusicTypeList();

    List<MyBelovedMusic> getMyBelovedMusicList(Map<String, Object> hashMap);

    Integer getMyBelovedMusicCount(String userId);

    List<MusicVo> getMusicByPace(Map<String, Object> hashMap);

    Integer batchUploadMusic(List<MusicVo> musicVos);

    List<MusicVo> musicList(Map<String, Object> hashMap);

    Integer musicCount(Map<String, Object> hashMap);

    List<MusicVo> getMusicById(Integer id);

    Integer batchCollectionMusic(List<BatchSynchroniseMusic> batchSynchroniseMusics);
    Integer batchDeleteCollectionMusic(List<BatchSynchroniseMusic> batchSynchroniseMusics);

    List<MusicCollectionInfoVo> musicCollectionList(Map<String, Object> hashMap);

    Integer musicCollectionListCount(Map<String, Object> hashMap);


}